﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
	public partial class listSubscribeInput : Api_BaseInput
	{
		public listSubscribeParms parms { get; set; }

		// ----------------------------------------------
		public listSubscribeInput()
		{
			this.parms = new listSubscribeParms();
		}
		//
		public listSubscribeInput( string id, string email_address, Dictionary<string, object> merge_vars )
		{
			this.parms = new listSubscribeParms( id, email_address, merge_vars );
		}
		//
		public listSubscribeInput( string id, string email_address, Dictionary<string, object> merge_vars,
			EnumValues.emailType email_type, bool double_optin, bool update_existing, bool replace_interests, bool send_welcome )
		{
			this.parms = new listSubscribeParms( id, email_address, merge_vars, email_type, double_optin, update_existing, replace_interests, send_welcome );
		}
		//
		public listSubscribeInput( string apikey, string id, string email_address, Dictionary<string, object> merge_vars )
		{
			this.parms = new listSubscribeParms( apikey, id, email_address, merge_vars );
		}
		//
		public listSubscribeInput( string apikey, string id, string email_address, Dictionary<string, object> merge_vars,
			EnumValues.emailType email_type, bool double_optin, bool update_existing, bool replace_interests, bool send_welcome )
		{
			this.parms = new listSubscribeParms( apikey, id,
				email_address, merge_vars, email_type, double_optin, update_existing, replace_interests, send_welcome );
		}
		//
		public listSubscribeInput( listSubscribeParms parms )
		{
			if ( parms != null )
				this.parms = parms;
			else
				this.parms = new listSubscribeParms();
		}
	}
}
